/**
 * 
 */
package dms.service;

import java.util.Date;

import dms.model.Building;
import dms.model.Campus;
import dms.model.form.Bulletin;
import dms.model.util.PageIterator;

/**
 * @author 李健
 *
 */
public interface BulletinQueryService {

	PageIterator<Bulletin> findAll(int start, int count, Date fromDate, Date toDate, String query);
	
	PageIterator<Bulletin> findByBuilding(int start, int count, Date fromDate, Date toDate, Building building, String query);
	
	PageIterator<Bulletin> findByCampus(int start, int count, Date fromDate, Date toDate, Campus campus, String query);

	Bulletin findByBulletinId(Long id);

	Bulletin findById(Long bulletinId);
	
}
